package com.thread.threadfirst.mybatisBase.dao;

import com.thread.threadfirst.mybatisBase.entity.Purpose;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface PurposeDao {

    @Select("select * from purpose")
    List<Purpose> queryAll();
}
